package benchmarks.tpch.mongo;

import api.Configuration;
import api.Loader;
import api.connection.DBConnection;
import api.connection.ConnectionMongo;
import benchmarks.tpch.TPCHBenchmark;

public class TPCHBenchMongo extends TPCHBenchmark {
    public TPCHBenchMongo(Configuration config) {
        super(config);
        databaseName = MongoName;
    }

    public DBConnection makeConnection() {
        return new ConnectionMongo(config);
    }

    public Loader makeLoaderImpl() {
        return new TPCHLoaderMongoFast(config.getScaleFactor());
    }
}
